/*
 * @lc app=leetcode.cn id=448 lang=javascript
 *
 * [448] 找到所有数组中消失的数字
 */

// @lc code=start
/**
 * @param {number[]} nums
 * @return {number[]}
 */
var findDisappearedNumbers = function(nums) {
    let result = []
    for (let index = 0; index < nums.length; index++) {
        if (!nums.includes(index + 1)) {
            result.push(index + 1)
        }
    }
    return result
};
// @lc code=end

